games: malformed game using import tools #368
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [master] | |
paths: | |
- 'games.json' | |
workflow_dispatch: | |
name: Update RSS-Feed | |
jobs: | |
rss-feed: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📦 Checkout Current | |
uses: actions/[email protected] | |
with: | |
path: current | |
token: ${{ secrets.GH_TOKEN }} | |
- name: 📦 Checkout Previous | |
uses: actions/[email protected] | |
with: | |
path: previous | |
ref: ${{ github.event.before }} | |
- name: 🚧 Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: 18.13.0 | |
- name: 🤖 Setup Project | |
run: 'cd current && yarn' | |
- name: 📝 Generate RSS-Feed | |
run: 'cd current && yarn gen-rss ../previous/games.json' | |
- uses: EndBug/[email protected] | |
with: | |
push: true | |
cwd: './current' | |
add: 'public/feed.rss' |