Skip to content

ci(github): update workflow deploy.yml #274

ci(github): update workflow deploy.yml

ci(github): update workflow deploy.yml #274

Workflow file for this run

name: deploy
on:
push:
branches:
- master
permissions:
contents: write
concurrency:
group: ${{ github.workflow_ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: npm
node-version-file: .nvmrc
- name: Install πŸ“¦
run: npm ci --prefer-offline
- name: Build πŸ”§
run: npm run build -- --public-url https://remarkablemark.org/${{ github.event.repository.name }}
- name: Deploy πŸš€
uses: remarkablemark/gitploy-action@v1
with:
directory: dist