Skip to content

Commit

Permalink
Github Action FTP Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulia Nicola Pernice committed May 12, 2024
1 parent 500182b commit 021c47b
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
scope: "@gsap"
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Run install
- name: Install Gatsby CLI
uses: borales/actions-yarn@v4
with:
cmd: add [email protected]
- name: Install Gatsby CLI
- name: Install All Deoendencies
uses: borales/actions-yarn@v4
with:
cmd: install
Expand All @@ -33,4 +33,14 @@ jobs:
with:
cmd: build
- name: Verify build
run: ls -la public
run: ls -la public
- name: Deploying to SFTP
uses: SamKirkland/[email protected]
with:
server: 164.90.233.208
username: admin_giulianicola
password: ${{ secrets.SS_FTP }}
port: ${{ secrets.SS_PORT }}
dry-run: true
local-dir: './public/'
server-dir: 'public_html'

0 comments on commit 021c47b

Please sign in to comment.