Skip to content

Commit

Permalink
fix deploy main
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren committed Oct 25, 2023
1 parent ee479bf commit f017957
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/deploy-main.yml
Expand Up @@ -15,38 +15,38 @@ on:
workflow_dispatch:

jobs:
backend-arch-graph:
name: Generate backend architecture graph
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
cache: true
cache-dependency-path: go.mod
- name: install graph tool
run: |
mkdir /tmp/go-arch
cd /tmp/go-arch
curl -SLO https://github.com/mathnogueira/golang-arch-viewer/archive/refs/heads/master.zip
unzip master.zip
cd golang-arch-viewer-master
make
mv dist/go-arch /tmp/go-arch/go-arch
- name: generate graph
run: |
cd server
mkdir -p ../dist/
/tmp/go-arch/go-arch -o ../dist/architecture.png
- name: Upload assets
uses: actions/upload-artifact@v3
with:
name: architecture-graph
path: dist/architecture.png
# backend-arch-graph:
# name: Generate backend architecture graph
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: Setup go
# uses: actions/setup-go@v3
# with:
# go-version-file: 'go.mod'
# cache: true
# cache-dependency-path: go.mod
# - name: install graph tool
# run: |
# mkdir /tmp/go-arch
# cd /tmp/go-arch
# curl -SLO https://github.com/mathnogueira/golang-arch-viewer/archive/refs/heads/master.zip
# unzip master.zip
# cd golang-arch-viewer-master
# make
# mv dist/go-arch /tmp/go-arch/go-arch
# - name: generate graph
# run: |
# cd server
# mkdir -p ../dist/
# /tmp/go-arch/go-arch -o ../dist/architecture.png
# - name: Upload assets
# uses: actions/upload-artifact@v3
# with:
# name: architecture-graph
# path: dist/architecture.png

build-web:
name: build web
Expand Down

0 comments on commit f017957

Please sign in to comment.