Skip to content

Commit f2985d8

Browse files
Workflow permissions
1 parent 135a118 commit f2985d8

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/build.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@ on:
55
- main
66
workflow_dispatch:
77

8+
permissions:
9+
contents: read
10+
packages: write
11+
812
jobs:
913
check:
1014
uses: ./.github/workflows/check.yml
1115
build:
12-
needs: [check]
16+
needs: [ check ]
1317
runs-on: ubuntu-latest
1418
steps:
1519
- name: Correct env
@@ -38,10 +42,3 @@ jobs:
3842
platforms: linux/amd64
3943
cache-from: type=gha
4044
cache-to: type=gha,mode=max
41-
42-
deploy:
43-
runs-on: ubuntu-latest
44-
needs: [build]
45-
steps:
46-
- name: Notify server of updates
47-
run: "curl --max-time 30 -H 'Authorization: Bearer ${{ secrets.RESTART_TOKEN }}' https://hooks.valk.sh/mcping"

0 commit comments

Comments
 (0)