Skip to content

Commit

Permalink
Merge pull request #6 from aaronczichon/ci/deploy-personal
Browse files Browse the repository at this point in the history
ci: added personal workflow for deployment
  • Loading branch information
aaronczichon authored Mar 21, 2024
2 parents 871117a + 88333cf commit 7c48a40
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build-personal.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Deploy Aaron Czichon

on:
push:
branches:
- main
paths:
- 'personal/*/**'

env:
MAPBOX_TOKEN: ''

jobs:
run-build:
name: Build Assets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: cd personal && npm i
- run: cd personal && npm run build
- name: Sync to FTP
uses: airvzxf/ftp-deployment-action@latest
with:
server: ${{ secrets.FTP_SERVER_AC }}
user: ${{ secrets.FTP_USER_AC }}
password: ${{ secrets.FTP_PW_AC }}
local_dir: "./personal/dist"

0 comments on commit 7c48a40

Please sign in to comment.