Skip to content

Commit

Permalink
Merge pull request #56 from deepcausality-rs/marvin-hansen-patch-1
Browse files Browse the repository at this point in the history
Update publish.yml
  • Loading branch information
marvin-hansen authored Sep 18, 2023
2 parents 8081746 + 059ae34 commit d37d748
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Publish
# Controls when the workflow will run
on:
# Triggers the workflow on push event, but only for main branch
push:
branches:
- main
# push:
# branches:
# - main
# Triggers the workflow on pull request event, but only for pull request from not forked repo
# pull_request:
# types:
Expand Down Expand Up @@ -92,9 +92,11 @@ jobs:
${{ runner.os }}-node-
- name: Install dependencies
working-directory: web
run: npm ci

- name: Run generate
working-directory: web
run: npm run generate

- name: Publish to Cloudflare Pages
Expand Down Expand Up @@ -171,4 +173,4 @@ jobs:
gh pr comment ${{ github.event.number }} -R ${{ github.repository }} -F comment.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d37d748

Please sign in to comment.