forked from AltmannPeter/privacy-key-management
-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (48 loc) · 1.02 KB
/
editor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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: 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 }}