Skip to content

Commit

Permalink
STG upload mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
cradle8810 committed Apr 21, 2024
1 parent 7b38582 commit 22875aa
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,20 @@ jobs:
name: sitemap.txt
path: www/sitemap.txt

Deployment:
Deployment_STG:
needs:
- HTML_Lint
- Sitemap_txt
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/auto_deploy')

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Upload to STG
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SRV }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
server-dir: ${{ secrets.FTP_STG_DIR }}/

0 comments on commit 22875aa

Please sign in to comment.