Fixup for 337f1b852ec2d4bf4c408bd9f9fcaef6926a83e8 #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
name: π Deploy website on push | |
jobs: | |
web-deploy: | |
name: π Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/checkout@v4 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: Install Yarn | |
uses: DerYeger/yarn-setup-action@master | |
with: | |
node-version: 18 | |
- name: π¨ Build Project | |
run: | | |
yarn build | |
- name: π Sync files | |
uses: SamKirkland/FTP-Deploy-Action@v4.3.5 | |
with: | |
server: code.dhamma-dullabha.org | |
username: code | |
local-dir: public/ | |
server-dir: group-sittings/ | |
password: ${{ secrets.password }} |