Skip to content

Commit

Permalink
Update github actions (#395)
Browse files Browse the repository at this point in the history
* allow manually triggering workflows

* set as empty object

* test

* update pinebook workflow container

* remove test

* update pinebook build to run as sudo
  • Loading branch information
btkostner committed Aug 12, 2020
1 parent 37cfb03 commit 6b98faa
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/daily-5.1.yml
Expand Up @@ -5,11 +5,13 @@ on:
branches:
- master
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch: {}

jobs:
build:
runs-on: ubuntu-latest

container:
image: debian:latest
volumes:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/daily-6.0-pinebookpro.yml
@@ -1,8 +1,13 @@
name: daily-6.0-pinebookpro

on:
push:
branches:
- master
- github-update
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch: {}

jobs:
build:
Expand All @@ -14,4 +19,4 @@ jobs:

- name: Build and upload image
run: |
./build-pinebookpro.sh "${{ secrets.key }}" "${{ secrets.secret }}" "${{ secrets.endpoint }}" "${{ secrets.bucket }}"
sudo ./build-pinebookpro.sh "${{ secrets.key }}" "${{ secrets.secret }}" "${{ secrets.endpoint }}" "${{ secrets.bucket }}"
4 changes: 3 additions & 1 deletion .github/workflows/daily-6.0.yml
Expand Up @@ -5,11 +5,13 @@ on:
branches:
- master
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch: {}

jobs:
build:
runs-on: ubuntu-latest

container:
image: debian:latest
volumes:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/distinst-weekly.yml
Expand Up @@ -2,11 +2,13 @@ name: distinst-weekly

on:
schedule:
- cron: '0 0 * * 3'
- cron: "0 0 * * 3"
workflow_dispatch: {}

jobs:
build:
runs-on: ubuntu-latest

container:
image: debian:latest
volumes:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/stable.yml
Expand Up @@ -3,11 +3,13 @@ name: stable
on:
push:
tags:
- '*'
- "*"
workflow_dispatch: {}

jobs:
build:
runs-on: ubuntu-latest

container:
image: debian:latest
volumes:
Expand Down

0 comments on commit 6b98faa

Please sign in to comment.