Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
herveleclerc committed Sep 6, 2024
1 parent 3b40646 commit d8f7623
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-courses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,17 @@ jobs:
AWS_REGION: ${{ secrets.AWS_REGION }}
SOURCE_DIR: 'output-pdf'
DEST_DIR: 'formations/pdf'
- run: pwd
- run: ls -la

-
name: Copy a file from s3
uses: prewk/s3-cp-action@v2
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
source: 's3://training.alterway.fr/revealjs/'
dest: './revealjs'
flags: --recursive

-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@ FROM nginx:alpine

COPY --chown=42:42 output-html /usr/share/nginx/html
COPY --chown=42:42 images /usr/share/nginx/html/images
RUN apk add git && \
git clone https://github.com/hakimel/reveal.js /usr/share/nginx/html/revealjs && \
apk del git
COPY --chown=42:42 styles /usr/share/nginx/html/revealjs/css/theme
COPY --chown=42:42 revealjs /usr/share/nginx/html/revealjs
COPY --chown=42:42 styles /usr/share/nginx/html/revealjs/css/theme

0 comments on commit d8f7623

Please sign in to comment.