Cleanup github action that autocommits
@@ -64,11 +64,12 @@ jobs:
- name: QHub Build Digital Ocean Template
run: |
qhub-ops render -c tests/assets/config_do.yaml -f
- - name: Digital Ocean Artifact
- uses: actions/upload-artifact@v1
+ - name: 'Terraform Format'
+ uses: hashicorp/terraform-github-actions@master
with:
- name: qhub-digital-ocean-artifact
- path: do-jupyterhub
+ tf_actions_version: ${{ env.TERRAFORM_VERSION }}
+ tf_actions_subcommand: 'fmt'
+ tf_actions_working_dir: 'do-jupyterhub'
- name: Push Changes to Do Deployment Repository
run: |
cd do-jupyterhub
@@ -82,37 +83,6 @@ jobs:
COMMIT_MSG: |
Automated push from qhub-ops digital ocean deployment ${{ github.sha }}
skip-checks: true
- # - name: 'Terraform Format'
- # uses: hashicorp/terraform-github-actions@master
- # with:
- # tf_actions_version: ${{ env.TERRAFORM_VERSION }}
- # tf_actions_subcommand: 'fmt'
- # tf_actions_working_dir: 'do-jupyterhub/infrastructure'
- # - name: 'Terraform Init'
- # uses: hashicorp/terraform-github-actions@master
- # with:
- # tf_actions_version: ${{ env.TERRAFORM_VERSION }}
- # tf_actions_subcommand: 'init'
- # tf_actions_working_dir: 'do-jupyterhub/infrastructure'
- # env:
- # DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
- # AWS_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY_ID }}
- # AWS_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_ACCESS_KEY }}
- # SPACES_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY_ID }}
- # SPACES_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_ACCESS_KEY }}
- # - name: 'Terraform Validate'
- # uses: hashicorp/terraform-github-actions@master
- # with:
- # tf_actions_version: ${{ env.TERRAFORM_VERSION }}
- # tf_actions_subcommand: 'validate'
- # tf_actions_working_dir: 'do-jupyterhub/infrastructure'
- # tf_actions_comment: true
- # env:
- # DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
- # AWS_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY_ID }}
- # AWS_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_ACCESS_KEY }}
- # SPACES_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY_ID }}
- # SPACES_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_ACCESS_KEY }}
test-amazon-web-services:
