Skip to content

Commit

Permalink
Adjusting order of operations
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckinghamAJ committed Nov 15, 2024
1 parent e340930 commit 9ea2666
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/deploy.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,22 @@ jobs:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/srt-fbo-scraper:dev-${{ steps.current-time.outputs.formattedTime }}

cloudfoundry:
name: Update Cloud Foundry Public Key and Repository
runs-on: ubuntu-latest
needs: docker
steps:
-
name: Getting Keys
run: |
wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo gpg --dearmor -o /usr/share/keyrings/cli.cloudfoundry.org.gpg
echo "deb [signed-by=/usr/share/keyrings/cli.cloudfoundry.org.gpg] https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
sudo apt-get update
cloudgov:
name: Deploying to Cloud.gov
runs-on: ubuntu-latest
needs: docker
needs: cloudfoundry
steps:
-
name: Checkout
Expand All @@ -51,12 +63,7 @@ jobs:
name: Check Working Directory
run: |
ls -la
-
name: Update Cloud Foundry Public Key and Repository
run: |
wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo gpg --dearmor -o /usr/share/keyrings/cli.cloudfoundry.org.gpg
echo "deb [signed-by=/usr/share/keyrings/cli.cloudfoundry.org.gpg] https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
sudo apt-get update
-
name: Push to Cloud.gov Dev Space
uses: citizen-of-planet-earth/cf-cli-action@master
Expand Down

0 comments on commit 9ea2666

Please sign in to comment.