generated from martinthomson/internet-draft-template
-
Notifications
You must be signed in to change notification settings - Fork 7
42 lines (35 loc) · 793 Bytes
/
update.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
name: 'Update'
concurrency:
group: update
on:
push:
branches:
- main
paths-ignore:
- README.md
- CONTRIBUTING.md
- LICENSE.md
- .gitignore
- docs/*
workflow_dispatch:
jobs:
build:
name: Build the preview
uses: ./.github/workflows/common.yml
deploy:
needs: 'build'
name: Deploy to gh-pages
runs-on: ubuntu-22.04
steps:
- name: Checkout 📋
uses: actions/checkout@v2
- name: Download Built Draft
uses: actions/download-artifact@v3
with:
name: draft
path: docs
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.