新しくアカウントなどを増やしたくないがhtmlを公開したい時
GMailアカウント(Google Drive)があれば
Drive to webでの公開がラクでした。
手順
1、ファイルをGoogle Driveにアップ
2、共有設定を誰でも見られるように設定
3、Drive to webにGoogle Drive参照を許可する
の3ステップだけでした。
ここでハマった
何回上げてもhtmlファイルとして認識されず小パニック。
結果は 設定チェックが入ってしまっていた。
htmlファイルなどを上げたい場合はチェックを外す!
Drive to webの操作
Drive to webを開いて
host on Google drive をクリック
アカウントを選んで
許可をクリック
許可をクリック(自分は2回出てきました)
するとurlが発行されます。