Skip to content

Update skycity-sync.yml #35

Update skycity-sync.yml

Update skycity-sync.yml #35

Workflow file for this run

name: Deploy
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: install dependencies
run: npm ci
- name: build app
run: npm run publish
- name: upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist
- name: deploy to github pages
id: deployment
uses: actions/deploy-pages@v4