Skip to content

Commit a98566b

Browse files
committed
Merge branch 'hotfix/artifact-download'
2 parents 47b4ed0 + 9ea0216 commit a98566b

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/fns-api-workflow.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ jobs:
5555
- name: Upload static files as artifact
5656
uses: actions/upload-pages-artifact@v3
5757
with:
58+
name: github-pages
5859
path: './public'
60+
5961

6062
# Job 2: Deploy GitHub Pages
6163
deploy-pages:
@@ -69,10 +71,15 @@ jobs:
6971
steps:
7072
- name: Setup Pages
7173
uses: actions/configure-pages@v3
74+
75+
- name: Download artifact
76+
uses: actions/download-artifact@v4
77+
with:
78+
name: github-pages
7279

7380
- name: Deploy to GitHub Pages
7481
id: deployment
75-
uses: actions/deploy-pages@v2
82+
uses: actions/deploy-pages@v4
7683

7784
# Job 3: Build and push Docker image (master only)
7885
build-and-push-image:

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
[![Static Badge](https://img.shields.io/badge/version-1.1.0-blue)](https://github.com/MirkoZETA/FlexNetSim-API)
44
![Static Badge](https://img.shields.io/badge/language-python-blue)
55
[![Static Badge](https://img.shields.io/badge/licese-MIT-green)](https://github.com/MirkoZETA/FlexNetSim-API/blob/master/LICENSE)
6-
[![Test Coverage](https://github.com/MirkoZETA/FlexNetSim-API/actions/workflows/test-coverage.yml/badge.svg)](https://github.com/MirkoZETA/FlexNetSim-API/actions/workflows/test-coverage.yml)
7-
[![Cloud Run Deployment](https://github.com/MirkoZETA/FlexNetSim-API/actions/workflows/gke-cd.yml/badge.svg)](https://github.com/MirkoZETA/FlexNetSim-API/actions/workflows/gke-cd.yml)
6+
[![Tests](https://github.com/MirkoZETA/FlexNetSim-API/actions/workflows/test-coverage.yml/badge.svg)](https://github.com/MirkoZETA/FlexNetSim-API/actions/workflows/test-coverage.yml)
7+
[![GCP Deployment](https://github.com/MirkoZETA/FlexNetSim-API/actions/workflows/gke-cd.yml/badge.svg)](https://github.com/MirkoZETA/FlexNetSim-API/actions/workflows/gke-cd.yml)
8+
[![Static Badge](https://img.shields.io/badge/coverage-94%25-brightgreen)](https://mirkozeta.github.io/FlexNetSim-API/coverage/)
89

910
A lightweight API for running optical network simulations with [Flex Net Sim C++](https://gitlab.com/DaniloBorquez/flex-net-sim).
1011

0 commit comments

Comments
 (0)