Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trivial workflow edits to test KSP-CKAN/CKAN#4094 #331

Merged
merged 2 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading