diff --git a/.gitea/workflows/work.yml b/.gitea/workflows/work.yml new file mode 100644 index 0000000..d9ac4dd --- /dev/null +++ b/.gitea/workflows/work.yml @@ -0,0 +1,23 @@ +name: Upload Website + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: garage + + - name: Deploy static site to S3 bucket + run: aws --endpoint-url https://s3.tesses.org s3 sync ./src/ s3://website-test --delete \ No newline at end of file diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..bf2b294 --- /dev/null +++ b/src/index.html @@ -0,0 +1,11 @@ + + + + + + Hi + + +

Hello, world

+ + \ No newline at end of file