citadel-apps/.github/workflows/main.yml

31 lines
949 B
YAML
Raw Normal View History

2022-01-13 19:14:30 +00:00
name: Check app updates
on:
push:
2022-04-28 15:03:23 +00:00
branches: [ v3-dev, c-lightning-v3 ]
2022-01-13 19:14:30 +00:00
workflow_dispatch:
schedule:
- cron: "0 * * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
2022-04-28 15:03:23 +00:00
- uses: actions/checkout@v3
2022-01-13 19:14:30 +00:00
- name: Check for updates
run: |
export GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"
git clone https://github.com/runcitadel/dev-tools
cd dev-tools
yarn && yarn tsc
yarn citadel-dev --consumerkey ${{ secrets.TWITTER_CONSUMER_API_KEY }} --consumersecret ${{ secrets.TWITTER_CONSUMER_API_SECRET }} --accesstoken ${{ secrets.TWITTER_ACCESS_TOKEN }} --accesstokensecret ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} appcheck -d ../apps
2022-01-13 19:14:30 +00:00
cd ..
rm -rf dev-tools
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
2022-01-14 06:37:32 +00:00
git commit -a -m "Update apps" || true
2022-01-13 19:14:30 +00:00
git push