Skip to content

Commit 0be23a0

Browse files
committedApr 18, 2023
.github/workflows: Add publish challenges workflows
Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
1 parent 5dd9fce commit 0be23a0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Publish Hackathon Registration Challenges
2+
3+
on:
4+
push:
5+
tags:
6+
- 'hack*'
7+
8+
permissions:
9+
contents: write
10+
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
14+
jobs:
15+
zip-files:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: vimtor/action-zip@v1
20+
with:
21+
files: content/en/community/hackathons/usoc23/registration-challenges/work/
22+
recursive: true
23+
dest: hack-registration.zip
24+
- uses: actions/upload-artifact@v1
25+
with:
26+
name: my-artifact
27+
path: ${{ github.workspace }}/hack-registration.zip
28+
- name: Release with Notes
29+
uses: softprops/action-gh-release@v1
30+
with:
31+
files: ${{ github.workspace }}/hack-registration.zip
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)
Please sign in to comment.