diff --git a/.github/workflows/ftp-to-cdn.yml b/.github/workflows/ftp-to-cdn.yml new file mode 100644 index 0000000..4bdd4d1 --- /dev/null +++ b/.github/workflows/ftp-to-cdn.yml @@ -0,0 +1,18 @@ +on: push +name: 🚀 Upload assets on bunny cnd assets-storage +jobs: + web-deploy: + name: 🎉 Upload + runs-on: ubuntu-latest + steps: + - name: 🚚 Get latest code + uses: actions/checkout@v3 + + - name: 📂 Sync files + uses: SamKirkland/FTP-Deploy-Action@v4.3.4 + with: + server: uk.storage.bunnycdn.com + username: assets-storage + password: ${{ secrets.ftp_password }} + server-dir: pi-assets/ + # exclude: .git*