Skip to content

Commit

Permalink
Remove unused commented code and commment commented code that should …
Browse files Browse the repository at this point in the history
…stay
  • Loading branch information
hellais committed Feb 6, 2024
1 parent 40d3cda commit b4a440b
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
echo "EOF" >> "$GITHUB_OUTPUT"
continue-on-error: true

# This can be uncommmented to make it possible to ssh into the container to debug the run
#- name: Setup tmate session
# uses: mxschmitt/action-tmate@v3

Expand Down Expand Up @@ -146,24 +147,6 @@ jobs:
echo "EOF" >> "$GITHUB_OUTPUT"
continue-on-error: true

# TODO(art): this should only run on master merge
#- name: Commit and Push Terraform Outputs
# id: commit
# run: |
# {
# echo "git_commit<<EOF"
# git config --global user.email "[email protected]"
# git config --global user.name "OONI Github Actions Bot"
# git add .
# git commit -m "skip-terraform: autoupdate terraform outputs" || echo "No changes to commit"
# git push origin HEAD:${{ github.event.pull_request && github.head_ref || github.ref_name }}
# echo "EOF"
# } >> "$GITHUB_OUTPUT"
# env:
# GITHUB_REF: ${{ github.ref }}
# GITHUB_HEAD_REF: ${{ github.head_ref }}
# continue-on-error: true

- uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit b4a440b

Please sign in to comment.