Skip to content

Commit

Permalink
disable deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
apalchys committed Apr 5, 2024
1 parent 6e015da commit 8dc49e9
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,43 @@ on:
env:
NODE_VERSION: "10.x"

# jobs:
# build-and-deploy:
# name: Build and Deploy
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js ${{ env.NODE_VERSION }}
# uses: actions/setup-node@v1
# with:
# node-version: ${{ env.NODE_VERSION }}
# - name: Clean up
# run: |
# rm -rf styles/main.css
# - name: Install
# run: |
# npm i -g bower
# npm install
# bower install
# - name: Build
# run: |
# npm run build
jobs:
build-and-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Clean up
run: |
rm -rf styles/main.css
- name: Install
run: |
npm i -g bower
npm install
bower install
- name: Build
run: |
npm run build
# # main site
# - uses: jakejarvis/s3-sync-action@master
# with:
# args: --acl public-read --follow-symlinks --delete
# env:
# AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# AWS_REGION: "eu-central-1"
# SOURCE_DIR: "docs"
# main site
# - uses: jakejarvis/s3-sync-action@master
# with:
# args: --acl public-read --follow-symlinks --delete
# env:
# AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# AWS_REGION: "eu-central-1"
# SOURCE_DIR: "docs"

# - name: Invalidate
# run: |
# aws cloudfront create-invalidation --distribution-id E13GQ210A1DMQY --paths "/*"
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# AWS_REGION: "eu-central-1"
# - name: Invalidate
# run: |
# aws cloudfront create-invalidation --distribution-id E13GQ210A1DMQY --paths "/*"
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# AWS_REGION: "eu-central-1"

0 comments on commit 8dc49e9

Please sign in to comment.