Skip to content

Commit efa4fa3

Browse files
committed
v0.2.81
1 parent d03ea0e commit efa4fa3

File tree

5 files changed

+51
-45
lines changed

5 files changed

+51
-45
lines changed

.github/workflows/tag_deploy.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- 'v[0-9]+\.[0-9]+\.[0-9]+'
77

88
jobs:
9-
deploy:
9+
spstatus:
1010
runs-on: macos-latest
1111
name: Deploy spstat.us to BunnyCDN
1212
steps:
@@ -91,6 +91,19 @@ jobs:
9191
for x in $(ls -p img/cf/screenshots/ | grep -v /); do curl --silent --request PUT --url https://storage.bunnycdn.com/${{ secrets.BUNNY_STORAGE_ZONE_NAME }}/img/screenshots/$x --header 'AccessKey: ${{ secrets.BUNNY_STORAGE_API_KEY }}' --header 'Content-Type: application/octet-stream' --header 'accept: application/json' --data-binary @img/cf/screenshots/$x; done
9292
for x in $(ls -p img/cf/screenshots/originals/min/ | grep -v /); do curl --silent --request PUT --url https://storage.bunnycdn.com/${{ secrets.BUNNY_STORAGE_ZONE_NAME }}/img/screenshots/originals/min/$x --header 'AccessKey: ${{ secrets.BUNNY_STORAGE_API_KEY }}' --header 'Content-Type: application/octet-stream' --header 'accept: application/json' --data-binary @img/cf/screenshots/originals/min/$x; done
9393
94+
- name: Create Release
95+
id: create_release
96+
uses: actions/create-release@v1
97+
env:
98+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
99+
with:
100+
tag_name: ${{ github.ref }}
101+
release_name: ${{ github.ref }}
102+
body: |
103+
Release of ${{ github.ref }}
104+
draft: false
105+
prerelease: false
106+
94107
githubstatus:
95108
runs-on: macos-latest
96109
name: Backup githubsta.us to BunnyCDN

0 commit comments

Comments
 (0)