Skip to content

Commit

Permalink
Editor workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sander committed Aug 23, 2024
1 parent bd94165 commit 4d4567f
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/editor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Editor

on:
push:
paths-ignore:
- media/deployment.svg
- Makefile
- README.md
- feedback.md
- prototype.worksheet.sc
- .gitignore
pull_request:
paths-ignore:
- media/deployment.svg
- Makefile
- README.md
- feedback.md
- prototype.worksheet.sc
- .gitignore

permissions:
contents: write

jobs:
build:
name: Update Editor’s Copy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: setup
run: date -u "+date=%FT%T" >>"$GITHUB_OUTPUT"
- uses: actions/cache@v3
with:
path: |
.refcache
.venv
.gems
node_modules
.targets.mk
key: i-d-${{ steps.setup.outputs.date }}
restore-keys: i-d-
- name: Build
uses: martinthomson/i-d-template@v1
with:
token: ${{ github.token }}
- name: Publish
uses: martinthomson/i-d-template@v1
if: ${{ github.event_name == 'push' }}
with:
make: gh-pages
token: ${{ github.token }}

0 comments on commit 4d4567f

Please sign in to comment.