Skip to content

Commit 8a5c7d0

Browse files
committed
fix build
1 parent 62ec2da commit 8a5c7d0

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/build.yml

+12-9
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@ jobs:
1717
run: make pull
1818
- name: Build image
1919
run: make build
20-
- name: run appCD
21-
run: |
22-
docker pull ghcr.io/appcd-dev/appcd-dist/appcd-cli:cli
23-
docker run --rm \
24-
--workdir=/app/scan \
25-
-v $PWD:/app/scan ghcr.io/appcd-dev/appcd-dist/appcd-cli:cli \
26-
generate --lang Python --output=/code/.appcd/charts
27-
cd .appcd/charts && ls
28-
unzip code.zip && rm code.zip
20+
- name: Generate IAC for main branch
21+
env:
22+
APPCD_TOKEN: ${{ secrets.APPCD_TOKEN }}
23+
APPCD_URL: ${{ secrets.APPCD_URL }}
24+
uses: appcd-dev/action@v0.0.1
25+
with:
26+
cloud: 'aws'
27+
language: 'Python'
28+
outputDir: './.appcd/charts'
29+
scanPath: '.'
30+
targetCompute: 'k8s'
31+

0 commit comments

Comments
 (0)