-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (32 loc) · 1.03 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Continuous Integration
on:
push:
branches:
- main
jobs:
job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: sudo apt-get install composer
- run: composer install
- run: touch .env
- run: echo FACTORIO_API_KEY=${{ secrets.FACTORIO_API_KEY }} >> .env
- run: echo DISCORD_WEBHOOK=${{ secrets.DISCORD_WEBHOOK }} >> .env
- run: echo LOCK_PASSWORD=${{ secrets.LOCK_PASSWORD }} >> .env
- run: echo WUBE_REMEMBER_TOKEN="${{ secrets.WUBE_REMEMBER_TOKEN }}" >> .env
# 2.0
- run: php artisan update:details --all
# 1.1
- run: php app.php ci
- run: php app.php webhook
# all
- run: php artisan send:newsletter --ci
# - run: git config user.name "github-actions[bot]"
# - run: git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
#
# - run: git add -A
# - run: git commit -m "Increment minor version(s)" || true
# - run: git push