mirror of
https://github.com/offen/analyticstxt.git
synced 2024-10-22 13:50:28 +02:00
33 lines
696 B
YAML
33 lines
696 B
YAML
|
name: "Archive Issues and Pull Requests"
|
||
|
|
||
|
on:
|
||
|
schedule:
|
||
|
- cron: '0 0 * * 0,2,4'
|
||
|
repository_dispatch:
|
||
|
types: [archive]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
name: "Archive Issues and Pull Requests"
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: "Checkout"
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: "Update Archive"
|
||
|
uses: martinthomson/i-d-template@v1
|
||
|
with:
|
||
|
make: archive
|
||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
|
||
|
- name: "Update GitHub Pages"
|
||
|
uses: martinthomson/i-d-template@v1
|
||
|
with:
|
||
|
make: gh-archive
|
||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
|
||
|
- name: "Save Archive"
|
||
|
uses: actions/upload-artifact@v2
|
||
|
with:
|
||
|
path: archive.json
|