use custom elements instead of classes #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-22.04 | |
| environment: garage | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Copy website | |
| run: | | |
| mkdir dist | |
| files=$(git ls-files | grep -E '\.(html|css|js)$') | |
| cp --parents $files ./dist | |
| - name: Deploy website | |
| run: | | |
| aws configure set default.s3.addressing_style path | |
| aws s3 sync ./dist s3://womangling.noratrieb.dev | |
| env: | |
| AWS_ACCESS_KEY_ID: "${{ secrets.AWS_KEY_ID }}" | |
| AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_KEY }}" | |
| AWS_REGION: garage | |
| AWS_ENDPOINT_URL: https://garage.noratrieb.dev |