Skip to content

Commit 9159e22

Browse files
committed
ci: remove app version and deploy datetime
We might add them back eventually, but they weren't right (we're deploying before we tag the version 🤦).
1 parent 7ace8c7 commit 9159e22

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

.env

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
VITE_STAC_NATURAL_QUERY_API=https://api.stac-semantic-search.k8s.labs.ds.io
2-
VITE_APP_VERSION=development
3-
VITE_APP_DEPLOY_DATETIME=2024-06-20T12:00:00Z

.github/workflows/ci.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,8 @@ jobs:
4949
run: yarn install
5050
- id: setup_pages
5151
uses: actions/configure-pages@v5
52-
- name: Get app version
53-
run: echo "VITE_APP_VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_ENV
54-
- name: Get current datetime
55-
run: echo "VITE_APP_DEPLOY_DATETIME=$(date +'%Y-%m-%dT%H:%M:%S')Z" >> $GITHUB_ENV
5652
- name: Build
5753
run: yarn build
58-
env:
59-
VITE_APP_VERSION: ${{ env.VITE_APP_VERSION }}
60-
VITE_APP_DEPLOY_DATETIME: ${{ env.VITE_APP_DEPLOY_DATETIME }}
6154
- name: Upload artifact
6255
uses: actions/upload-pages-artifact@v3
6356
with:

0 commit comments

Comments
 (0)