Skip to content

Commit

Permalink
drop repo and username input in action
Browse files Browse the repository at this point in the history
  • Loading branch information
JessyBarrette committed Feb 16, 2024
1 parent 9e45552 commit f7a8fcc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/update-caprover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
container_name: srv-captain--${{ vars.CAPROVER_APP_NAME }}
hard_flag: true
token: ${{ secrets.GITHUB_TOKEN }}
token_username: ${{ github.actor }}
repo: https://github.com/HakaiInstitute/hakai-datasets.git/
- name: Run `erddap-deploy monitor action` on ${{ vars.NAME }} at ${{ vars.URL }}
uses: hakaiinstitute/erddap-deploy/actions/remote/monitor@main
with:
Expand Down
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ RUN pip install git+https://github.com/HakaiInstitute/erddap-deploy.git
# Copy ERDDAP configuration files
COPY ./erddap/conf/robots.txt /usr/local/tomcat/webapps/ROOT/robots.txt
COPY ./erddap/content /usr/local/tomcat/content/erddap


# Copy repo locally and generate ERDDAP datasets.xml
ARG ERDDAP_DATASETS_REPO_DIR=${ERDDAP_DATASETS_REPO_DIR:-/datasets-repo}
COPY . ${ERDDAP_DATASETS_REPO_DIR}
COPY init.d /init.d

ENTRYPOINT ["/entrypoint.sh"]
Expand Down
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
ERDDAP_DATASETS_REPO="$(git remote get-url origin)"
echo "ERDDAP_DATASETS_REPO: $ERDDAP_DATASETS_REPO"

make build-run

1 change: 0 additions & 1 deletion init.d/sync-erddap-datasets.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#!/bin/bash

erddap_deploy sync

0 comments on commit f7a8fcc

Please sign in to comment.