(deploy|phab-upgrade).sh: #!/usr/bin/env bash

Summary:
[Per wooledge BashGuide](https://mywiki.wooledge.org/BashGuide/CommandsAndArguments#Scripts).

Also set `chmod +x phab-upgrade.sh`.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: run it?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D364
This commit is contained in:
revi 2024-06-19 14:40:45 +09:00
parent fed68e7597
commit c679fa5aef
Signed by: revi
GPG key ID: 1EB4F6CEEA100E94
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright 2024 Hong Yongmin <https://revi.xyz> # Copyright 2024 Hong Yongmin <https://revi.xyz>
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");

4
phab-upgrade.sh Normal file → Executable file
View file

@ -1,4 +1,6 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright 2016 Hong Yongmin <https://revi.xyz>
# SPDX-License-Identifier: Apache-2.0
cd ~/sandbox cd ~/sandbox
git pull origin master git pull origin master
cd /var/www/phorge/phorge cd /var/www/phorge/phorge