Skip to content

Commit

Permalink
Merge pull request #331 from HebaruSan/style/yamlize-workflows
Browse files Browse the repository at this point in the history
Trivial workflow edits to test KSP-CKAN/CKAN#4094
  • Loading branch information
HebaruSan authored May 21, 2024
2 parents 6de6c72 + 9ac12c9 commit 3994f18
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Build NetKAN-Infra

on:
pull_request:
types: [opened, synchronize, reopened]
types:
- opened
- synchronize
- reopened

jobs:
main:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ jobs:
deploy:
if: ${{ github.repository == 'KSP-CKAN/NetKAN-Infra' }}
runs-on: ubuntu-latest
needs: [ 'build', 'webhooks' ]
needs:
- build
- webhooks
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -69,8 +71,7 @@ jobs:
cache: pip
cache-dependency-path: netkan/setup.py
- name: Install Dependencies
run: |
pip install netkan/.
run: pip install netkan/.
- name: Re-deploy Containers
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion netkan/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:latest as ubuntu_with_python
FROM ubuntu:22.04 as ubuntu_with_python

# Don't prompt for time zone
ENV DEBIAN_FRONTEND=noninteractive
Expand Down

0 comments on commit 3994f18

Please sign in to comment.