cal.pub0.org/.github/workflows/release.yml

18 lines
430 B
YAML
Raw Normal View History

2022-11-08 20:32:05 +00:00
on:
2022-11-16 22:06:20 +00:00
workflow_dispatch:
2022-11-08 20:32:05 +00:00
push:
# Pattern matched against refs/tags
tags:
- "*" # Push events to every tag not containing /
jobs:
release:
runs-on: ubuntu-latest
steps:
2022-11-16 22:17:35 +00:00
- uses: actions/checkout@v3
2022-11-16 21:38:15 +00:00
with:
2022-11-28 16:07:30 +00:00
ref: main # Always checkout main even for tagged releases
2022-11-16 22:17:35 +00:00
fetch-depth: 0
2022-11-16 21:38:15 +00:00
token: ${{ secrets.GH_ACCESS_TOKEN }}
2022-11-16 22:17:35 +00:00
- run: git push origin +main:production