forked from leo-hydraulic/flutter-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (40 loc) · 1.26 KB
/
deploy-to-gh.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
name: Deploy to GitHub
on: [workflow_dispatch]
jobs:
build:
uses: ./.github/workflows/build.yml
deploy:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download macOS ARM build
uses: actions/download-artifact@v3
with:
name: build-macos-aarch64
path: ./artifacts
- name: Download macOS AMD64 build
uses: actions/download-artifact@v3
with:
name: build-macos-amd64
path: ./artifacts
- name: Download Windows build
uses: actions/download-artifact@v3
with:
name: build-windows-amd64
# Windows is not in a tarball, so we extract to a separate directory.
path: ./artifacts/windows
- name: Download Linux AMD64 build
uses: actions/download-artifact@v3
with:
name: build-linux-amd64
path: ./artifacts
- name: Run Conveyor
uses: hydraulic-software/conveyor/actions/[email protected]
env:
OAUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
command: make copied-site
signing_key: ${{ secrets.SIGNING_KEY }}
agree_to_license: 1