Skip to content

Commit

Permalink
Merge pull request #43 from prose-im/master
Browse files Browse the repository at this point in the history
Bump
  • Loading branch information
valeriansaliou authored Sep 2, 2024
2 parents 1409d7d + ae0df64 commit cddfd0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,25 +107,3 @@ jobs:
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
push: true

deploy:
needs: build
environment: docs.prose.org
runs-on: ubuntu-latest

steps:
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: ${{ needs.build.outputs.revision }} Build

- name: Extract build artifacts
run: tar -xzvf ./build-${{ needs.build.outputs.revision }}.tar.gz

- name: Deploy docs
env:
AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
AWS_EC2_METADATA_DISABLED: true
run: |
aws s3 sync --delete --endpoint-url ${{ vars.S3_ENDPOINT }} build/ s3://${{ vars.S3_BUCKET }}/${{ vars.S3_SITE_DOMAIN }}/
2 changes: 1 addition & 1 deletion env/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ events {}
http {
include mime.types;
charset utf-8;
access_log /dev/stdout;
access_log off;

server {
listen 8080;
Expand Down

0 comments on commit cddfd0d

Please sign in to comment.