Skip to content

Merge pull request #9 from SamyOubouaziz/test-action-deploy #2

Merge pull request #9 from SamyOubouaziz/test-action-deploy

Merge pull request #9 from SamyOubouaziz/test-action-deploy #2

Workflow file for this run

name: build and push doc to S3
on: [push]
jobs:
build_docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup material for MKdocs
run: |
cd docs && mkdocs build
push_docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup AWS CLI
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: fr-par
- name: Push to bucket
run: |
aws s3 sync ./docs/site https://test-actions-doc.s3.fr-par.scw.cloud

Check failure on line 28 in .github/workflows/deploy-doc.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-doc.yml

Invalid workflow file

You have an error in your yaml syntax on line 28