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 b9abe23
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,21 @@ 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 }}/
local-dir: www/

0 comments on commit b9abe23

Please sign in to comment.