This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
Update footer.html Renamed Opera Software AS to Opera Norway AS (#649) #33
This file contains 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: Jekyll site CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build the site in a container | |
run: | | |
docker run \ | |
-v ${{ github.workspace }}:/srv/jekyll \ | |
--entrypoint '' \ | |
huli/gulp /bin/bash -c "cd /srv/jekyll && gem install -g && npm install && gulp build:full" | |
- name: Prepare the deployment package | |
run: | | |
zip -r dev-opera.zip appspec.yml dest | |
- 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: us-west-2 | |
- name: Create AWS CodeDeploy deployment | |
uses: sourcetoad/aws-codedeploy-action@v1.3.0 | |
with: | |
aws_region: us-west-2 | |
s3_bucket: dev-opera | |
s3_folder: latest | |
archive: dev-opera.zip | |
codedeploy_name: DevOpera | |
codedeploy_group: MainBackends |