From 4333d6aca4aeb8584ff8a8ef0bf76c537a3f371a Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 1 Feb 2025 07:26:39 +0300 Subject: [PATCH] feat(workflow): Automated deploy actual changes to `TorrentPier Demo` (#1788) * feat(workflow): Automated deploy actual changes to TorrentPier Demo * Update deploy.yml * Update README.md * Update README.md * Update README.md * Update README.md --- .github/workflows/deploy.yml | 33 +++++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 34 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..ed66078fe --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,33 @@ +name: Deploy to TorrentPier Demo + +on: + push: + branches: + - master + +jobs: + deploy: + name: 🎉 Deploy + runs-on: ubuntu-latest + steps: + - name: 🚚 Get latest code + uses: actions/checkout@v4 + + - name: 🔩 Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.1' + + - name: 🖇 Install Composer dependencies + run: composer install --no-progress --prefer-dist --optimize-autoloader + + - name: 📂 Sync files + uses: SamKirkland/FTP-Deploy-Action@v4.3.5 + with: + server: ${{ secrets.FTP_SERVER }} + username: ${{ secrets.FTP_USERNAME }} + password: ${{ secrets.FTP_PASSWORD }} + exclude: | + **/.git* + **/.git*/** + .env diff --git a/README.md b/README.md index 59cdc8af9..93a1d58ac 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Version Last release Size + Deployed to TorrentPier Demo with FTP Deploy Action

## 🐂 About TorrentPier