Skip to content

Commit d2c7e79

Browse files
Create porter_apt_buildpack_tests.yml file
1 parent 908e590 commit d2c7e79

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Diff for: .github/workflows/porter_apt_buildpack_tests.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
"on":
2+
push:
3+
branches:
4+
- apt-buildpack-tests
5+
name: Deploy to Porter
6+
jobs:
7+
porter-deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v3
12+
- name: Set Github tag
13+
id: vars
14+
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
15+
- name: Update Porter App
16+
timeout-minutes: 20
17+
uses: porter-dev/[email protected]
18+
with:
19+
app: apt-buildpack-tests
20+
cluster: "3668"
21+
host: https://dashboard.getporter.dev
22+
namespace: default
23+
project: "2591"
24+
tag: ${{ steps.vars.outputs.sha_short }}
25+
token: ${{ secrets.PORTER_TOKEN_2591 }}

0 commit comments

Comments
 (0)