Skip to content

Commit

Permalink
Fix Deployment authentication, remove uptime message (#666)
Browse files Browse the repository at this point in the history
* Add google cloud authentication

* remove uptime message
  • Loading branch information
internot169 committed Aug 28, 2024
1 parent 3511134 commit 6017c2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Authenticate Google Cloud Service Account
run: gcloud auth activate-service-account ${{secrets.GCP_SERVICE_ACCOUNT}} --key-file=service_account.json

- name: Verify tests pass
run: python main_test.py

Expand Down
6 changes: 0 additions & 6 deletions static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ function reportBugOld() {
window.open("https://github.com/EastsidePreparatorySchool/epschedule/issues");
}

function openUp(){
var up = document.getElementById("up");
up.open();
}

function about() {
var about = document.getElementById("about");
about.open();
Expand Down Expand Up @@ -252,7 +247,6 @@ function updateMainSchedule() {
renderSchedule(globalDate, userSchedule, "full", scheduleElement, lunches);
// also update github info
renderGitHubCommits();
openUp();
}
function renderToast(text) {
toast = document.getElementById("toast");
Expand Down
7 changes: 0 additions & 7 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,6 @@
</paper-header-panel>
</neon-animated-pages>


<paper-dialog class="uptime-dialog" id="up" open="true">
<div id="uppanel">
<h2>EPSchedule will be up on 8/28 around 5 pm PST</h2>
</div>
</paper-dialog>

<paper-dialog class="about-dialog" id="about">
<div id="aboutpanel">
<h2>About</h2>
Expand Down

0 comments on commit 6017c2c

Please sign in to comment.