Skip to content

Commit

Permalink
Add past.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Feb 3, 2023
1 parent e18eecf commit 62e7603
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/past.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

# Moves the "past-chrisproject-org" tag to HEAD^ (the second latest commit).
# This triggers a webhook which starts a build on MOC OpenShift, updating
# the https://past.chrisproject.org website.

name: Trigger rebuild past.chrisproject.org

on:
push:
branches:
- master

jobs:
advance-past-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Advance past-chrisproject-org tag
run: |
git tag --force past-chrisproject-org 'HEAD^'
git push --tags --force

0 comments on commit 62e7603

Please sign in to comment.