Skip to content

Commit

Permalink
WIP: small adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
robsongajunior committed Dec 19, 2023
1 parent de3a993 commit 0591f9a
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
name: azion-web-kit

on:
push:
branches:
- UXE-1067--public-storybok
- main

jobs:
deploy:
name: DEPLOY | prod
runs-on: self-hosted
container:
image: ubuntu:latest

steps:
- name: CHECKOUT
uses: actions/checkout@v3
Expand All @@ -23,7 +19,6 @@ jobs:
clean: true
fetch-depth: '0'
lfs: 'false'

- name: PRE INSTALL
uses: actions/setup-node@v3
with:
Expand All @@ -33,22 +28,16 @@ jobs:
always-auth: true
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_SECRET }}

- name: INSTALLING DEPENDENCIES
run: npm install

- name: POST INSTALLING DEPENDENCIES
run: npm run postinstall

- name: BUILDING STORYBOOK
run: npm run build-storybook; ls -la

# - name: BUILD
# run: npm run build && mv dist/* ./

# - name: PREPARE TO DEPLOYMENT
# run: rm -rf .nvmrc .cloudcannon cloudcannon.config.yml .astro .github dist node_modules src .editorconfig .gitignore astro.config.mjs LICENSE package-lock.json package.json README.md tsconfig.json

run: npm run build-storybook
# - name: PREPARE TO DEPLOYMENT
# run: rm -rf .nvmrc .cloudcannon cloudcannon.config.yml .astro .github dist node_modules src .editorconfig .gitignore astro.config.mjs LICENSE package-lock.json package.json README.md tsconfig.json
- name: PUBLISH azion-web-kit
run: npm publish
# - name: DEPLOYMENT
# uses: patrickwyler/gcs-bucket-sync-action@1.3
# with:
Expand Down

0 comments on commit 0591f9a

Please sign in to comment.