Skip to content

Commit

Permalink
wip: simplifies deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Feb 1, 2024
1 parent 247b466 commit fcdb3f2
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,39 +86,21 @@ jobs:
JSON=$(updater scan -t "GITHUB_SHA=${{ github.sha }}" .)
echo "${JSON}"
echo "json=${JSON}" >> $GITHUB_OUTPUT
deployment:
runs-on: ubuntu-latest
needs: discover
steps:
- name: Checkout deployment repository
uses: actions/checkout@v4
with:
repository: ${{ inputs.deployment_repo }}
token: ${{ secrets.token }}
- name: Setup CI
uses: input-output-hk/catalyst-ci/actions/setup@master
with:
aws_role_arn: ${{ inputs.aws_role_arn }}
aws_region: ${{ inputs.aws_region }}
cli_skip_install: "true"
configure_registries: "false"
dockerhub_token: ${{ secrets.dockerhub_token }}
dockerhub_username: ${{ secrets.dockerhub_username }}
earthly_version: ${{ inputs.earthly_version }}
earthly_runner_secret: ${{ secrets.earthly_runner_secret }}
runner_address: ${{ secrets.earthly_runner_address }}
updater_skip_install: "false"
updater_version: local
- name: Apply updates
run: |
updater update deployments \
-e "${{ inputs.environment }}" \
-i "${{ needs.discover.outputs.json }}" \
-i "${{ steps.discover.outputs.json }}" \
"${{inputs.deployment_root_path}}"
- name: Run diff
run: git --no-pager diff
# - name: Commit and push
# uses: EndBug/add-and-commit@v9
# with:
# author_name: catalyst-cibot
# author_email:
# uses: EndBug/add-and-commit@v9
# with:
# author_name: catalyst-cibot
# author_email:

0 comments on commit fcdb3f2

Please sign in to comment.