diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000000..1251f12639 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,30 @@ +name: Manually Upload to Salesforce Unified Knowledge + +on: + workflow_dispatch + +jobs: + deploy: + name: Upload to Amazon S3 + runs-on: ubuntu-latest + # These permissions are needed to interact with GitHub's OIDC Token endpoint. + permissions: + id-token: write + contents: read + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Zipping files + run: zip -r ${{ github.event.repository.name }}.zip . -x '*.git*' '*.idea*' + + - name: Configure AWS credentials from Test account + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ secrets.AWS_REGION }} + + - name: Copy files to the test website with the AWS CLI + run: | + aws s3 cp ${{ github.event.repository.name }}.zip s3://${{ secrets.AWS_BUCKET }}/${{ secrets.AWS_DIRNAME }}/${{ github.event.repository.name }}.zip diff --git a/15ece6e4-13e4-4e44-8190-6d12b1d3ff21 (1).pdf b/15ece6e4-13e4-4e44-8190-6d12b1d3ff21 (1).pdf new file mode 100644 index 0000000000..30ff9b5edc Binary files /dev/null and b/15ece6e4-13e4-4e44-8190-6d12b1d3ff21 (1).pdf differ diff --git a/README.md b/README.md index 8a9a050b15..3d96d3ced8 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,13 @@ ud120-projects ============== -Starter project code for students taking Udacity ud120 +again updated Starter project code for students taking Udacity ud120 + +random stufff + + + ### Setup - Create a virtual environment for Python 3.9 or higher. - $ pip install -r requirements.txt