Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e820203

Browse files
Merge pull request devsecopsmaturitymodel#310 from devsecopsmaturitymodel/wurstbrot-patch-2
Create depoy.yml
2 parents 772f18d + 984bb5e commit e820203

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

‎.github/workflows/depoy.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
schedule:
5+
- cron: "0 7 9 9 9"
6+
7+
8+
jobs:
9+
heroku:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: "Check out Git repository"
13+
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0
14+
- name: "Set Heroku app & branch for ${{ github.ref }}"
15+
run: |
16+
echo $GITHUB_REF
17+
if [ "$GITHUB_REF" == "refs/heads/master" ]; then
18+
echo "HEROKU_APP=" >> $GITHUB_ENV
19+
echo "HEROKU_BRANCH=master" >> $GITHUB_ENV
20+
fi
21+
echo "HEROKU_BRANCH=master" >> $GITHUB_ENV
22+
- name: "Deploy ${{ github.ref }} to Heroku"
23+
uses: akhileshns/heroku-deploy@9fd0f9faae4aa93a38d6f5e25b9128589f1371b0 #v3.12.14
24+
with:
25+
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
26+
heroku_app_name: "dsomm"
27+
heroku_email: timo.pagel@owasp.org
28+
branch: ${{ env.HEROKU_BRANCH }}
29+
usedocker: true

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /