From cfa8cc15addcbac87f02b21479a17639a0758631 Mon Sep 17 00:00:00 2001 From: Kate Harwood Date: Wed, 14 Jul 2021 11:24:37 -0400 Subject: [PATCH] delete old github action --- .github/workflows/s3_upload.yml | 49 --------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 .github/workflows/s3_upload.yml diff --git a/.github/workflows/s3_upload.yml b/.github/workflows/s3_upload.yml deleted file mode 100644 index 8c5cdff..0000000 --- a/.github/workflows/s3_upload.yml +++ /dev/null @@ -1,49 +0,0 @@ -# This workflow is no longer in use in favor of the self-hosted version (s3_upload_ec2.yml) - -name: Github Actions S3 Deploy - -env: - AWS_REGION_NAME : "us-east-2" - -# Controls when the action will run. -on: - schedule: - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - deploy: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - - name: Test AWS cli installation - run: aws --version - - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }} - aws-region: ${{ env.AWS_REGION_NAME }} - - - name: Login to GitHub Container Registry - uses: docker/login-action@v1 - with: - registry: ghcr.io - username: cmu-delphi-deploy-machine - password: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_PAT }} - - - name: Deploy score files to S3 bucket - run: | - make deploy - - - -